
//====================================================
// 用途: 尺寸
//====================================================
/// 屏幕宽
#define DON_ScreenW             UIScreen.mainScreen.bounds.size.width
/// 屏幕高
#define DON_ScreenH             UIScreen.mainScreen.bounds.size.height
/// 导航栏高度
#define DON_NavBarH             [PKTools don_navigationBarHeight]
/// 标签栏高度
#define DON_TabBarH             [PKTools don_tabBarHeight]
/// 导航高度(44)
#define DON_NavH                [PKTools don_navigationHeight]
/// 标签高度(49)
#define DON_TabH                [PKTools don_tabHeight]
/// 状态栏高度
#define DON_StatusH             [PKTools don_statusBarHeight]
//====================================================
// 用途: color
//====================================================
#define HexColor(__hex) [UIColor colorFormString:__hex]
#define HexAlphaColor(__hex, __alpha) [UIColor colorFormString:__hex alpha:__alpha]
#define kMainColor HexColor(@"#166DEB")
//====================================================
// 用途: block
//====================================================
#define kWeakSelf  __weak typeof(self) weakSelf = self
#define kWeak(__obj) __weak typeof(__obj) weakSelf = __obj
#define kStrongSelf __strong __typeof(weakSelf) strongSelf = weakSelf
#define kStrong(__weakSelf) __strong __typeof(__weakSelf) strongSelf = __weakSelf
//====================================================
// 用途: font
//====================================================
#define kFont(__r) [UIFont fontWithName:@"PingFangSC-Regular" size:__r]
#define kMediumFont(__r) [UIFont fontWithName:@"PingFangSC-Medium" size:__r]
#define kBoldFont(__r) [UIFont fontWithName:@"PingFangSC-Semibold" size:__r]
#define kMiSansMediumFont(__r) [UIFont fontWithName:@"MiSans" size:__r]
#define kDINFont(__r) [UIFont fontWithName:@"DIN Alternate" size:__r]


#define PDF_FILE_NAME           @"PDFKit.pdf"
